package base

@Anno("class")
class Dog {
    @Anno("field")
    var name: String = ""
    var age: Int = 12
    var email: String? = null

    constructor(name: String, age: Int) : this(name, age, null)

    @Anno("cons")
    constructor(name: String, age: Int, email: String?) {
        this.name = name
        this.age = age
        this.email = email
    }

    @Anno("fun")
    fun hi(name: String): String {
        return "$name $age $email"
    }

}